/**
 * 2009-12-15 下午03:13:09 
 * esignature
 * com.smc.signature
 * AbstractCertificate
 */
package com.smc.signature;
 
import java.io.File;

/**
 * @author chenheng
 * @version 0.0.1
 */
public abstract class AbstractCertificate implements Certificate {
	/**
	 * 密码仓库位置
	 */
	protected String keyStore ;
	/**
	 * 仓库密码
	 */
	protected String storePass ;
	/**
	 * 仓库类型
	 */
	protected String storeType ;
	/**
	 * 别名
	 */
	protected String alias ;
	/**
	 * 主体标示名
	 */
	protected String dname ;
	/**
	 * 有效期，单位天
	 */
	protected int validity ;
	/**
	 * 钥匙项目密码
	 */
	protected String keyPass ;
	/**
	 * 证书文件路径
	 */
	protected String certFile ;
	/**
	 * 钥匙生成算法
	 */
	protected String keyAlg ;
	/**
	 * 签名算法
	 */
	protected String sigAlg ;
	/**
	 * shell脚本路径 
	 */
	protected String shellScriptPath ;
	
	
	public String getKeyAlg() {
		return keyAlg;
	}

	public void setKeyAlg(String keyAlg) {
		this.keyAlg = keyAlg;
	}

	public String getSigAlg() {
		return sigAlg;
	}

	public void setSigAlg(String sigAlg) {
		this.sigAlg = sigAlg;
	}

	public String getKeyStore() {
		return keyStore;
	}

	public void setKeyStore(String keyStore) {
		this.keyStore = keyStore;
	}

	public String getStorePass() {
		return storePass;
	}

	public void setStorePass(String storePass) {
		this.storePass = storePass;
	}

	public String getStoreType() {
		return storeType;
	}

	public void setStoreType(String storeType) {
		this.storeType = storeType;
	}

	public String getAlias() {
		return alias;
	}

	public void setAlias(String alias) {
		this.alias = alias;
	}

	public String getDname() {
		return dname;
	}

	public void setDname(String dname) {
		this.dname = dname;
	}

	public int getValidity() {
		return validity;
	}

	public void setValidity(int validity) {
		this.validity = validity;
	}

	public String getKeyPass() {
		return keyPass;
	}

	public void setKeyPass(String keyPass) {
		this.keyPass = keyPass;
	}
	public String getCertFile() {
		return certFile;
	}

	public void setCertFile(String certFile) {
		this.certFile = certFile;
	}

	/* (non-Javadoc)
	 * @see com.smc.signature.X509Certificate#certDelete(java.lang.String)
	 */
	public void certDelete(String alias) {
		// TODO Auto-generated method stub
	}

	/* (non-Javadoc)
	 * @see com.smc.signature.X509Certificate#certExport(java.lang.String)
	 */
	public void certExport(String alias) {
		// TODO Auto-generated method stub

	}

	/* (non-Javadoc)
	 * @see com.smc.signature.X509Certificate#certImport(java.lang.String)
	 */
	public void certImport(String alias) {
		// TODO Auto-generated method stub

	}

	/* (non-Javadoc)
	 * @see com.smc.signature.X509Certificate#certList(java.lang.String)
	 */
	public void certList(String alias) {
		// TODO Auto-generated method stub

	}

	/* (non-Javadoc)
	 * @see com.smc.signature.X509Certificate#certPrint(java.io.File)
	 */
	public void certPrint(File cert) {
		// TODO Auto-generated method stub

	}

	/* (non-Javadoc)
	 * @see com.smc.signature.X509Certificate#certRequest(java.lang.String)
	 */
	public void certRequest(String alias) {
		// TODO Auto-generated method stub

	}

	/* (non-Javadoc)
	 * @see com.smc.signature.X509Certificate#certSelf(java.lang.String)
	 */
	public void certSelf(String alias) {
		// TODO Auto-generated method stub

	}

	/* (non-Javadoc)
	 * @see com.smc.signature.X509Certificate#genkey(java.lang.String)
	 */
	public void genkey(String alias,String dname,String keyalg,String keysize,String sigalg,String validity,String keypass) {
		// TODO Auto-generated method stub

	}

	/* (non-Javadoc)
	 * @see com.smc.signature.X509Certificate#keyClone(java.lang.String, java.lang.String)
	 */
	public void keyClone(String alias, String destAlias) {
		// TODO Auto-generated method stub

	}

	/* (non-Javadoc)
	 * @see com.smc.signature.X509Certificate#keyPassword(java.lang.String, java.lang.String, java.lang.String)
	 */
	public void keyPassword(String alias, String oldPass, String newPass) {
		// TODO Auto-generated method stub

	}

	/* (non-Javadoc)
	 * @see com.smc.signature.X509Certificate#storePassword(java.lang.String, java.lang.String)
	 */
	public void storePassword(String oldPass, String newPass) {
		// TODO Auto-generated method stub

	}

	public String getShellScriptPath() {
		return shellScriptPath;
	}

	public void setShellScriptPath(String shellScriptPath) {
		this.shellScriptPath = shellScriptPath;
	}

}
